#ifndef HTTP_OBJECT_H
#define HTTP_OBJECT_H

#include "node_api.h"

namespace NodeApi {
class HttpObject {
public:
    HttpObject();
    ~HttpObject();
    static napi_value Request(napi_env env, napi_callback_info info);
    static napi_value On(napi_env env, napi_callback_info info);
    static napi_value Off(napi_env env, napi_callback_info info);
    static napi_value Destroy(napi_env env, napi_callback_info info);
    static napi_value InitHttp(napi_env env, napi_value exports);
    static napi_value HttpConstructor(napi_env env, napi_callback_info info);
    static napi_ref g_httpRef;
};
} // namespace NodeApi
#endif // HTTP_OBJECT_H